const customerManageRouter = {
  path: '/userSystem',
  name: 'userSystem',
  component: function (resolve) {
    require(['@/router/UserSystem/index.vue'], resolve)
  },
  children: [
    {
      path: '/',
      name: 'index',
      component: function (resolve) {
        require(['@/components/Index.vue'], resolve)
      }
    },
    {
      path: '/index',
      name: 'index',
      component: function (resolve) {
        require(['@/components/Index.vue'], resolve)
      }
    },
    {
      path: '/dataStatistics',
      name: 'dataStatistics',
      component: function (resolve) {
        require(['@/components/DataStatistics.vue'], resolve)
      }
    },
    {
      path: '/checkEarning',
      name: 'checkEarning',
      component: function (resolve) {
        require(['@/components/CheckEarning.vue'], resolve)
      }
    },
    {
      path: '/promotionInvitation',
      name: 'promotionInvitation',
      component: function (resolve) {
        require(['@/components/PromotionInvitation.vue'], resolve)
      }
    },
    {
      path: '/goodsDetail',
      name: 'goodsDetail',
      component: function (resolve) {
        require(['@/components/GoodsDetail.vue'], resolve)
      }
    },
    {
      path: '/appDownLoad',
      name: 'appDownLoad',
      component: function (resolve) {
        require(['@/components/AppDownLoad.vue'], resolve)
      }
    },
    {
      path: '/personCenter',
      name: 'personCenter',
      component: function (resolve) {
        require(['@/components/PersonCenter.vue'], resolve)
      }
    },   {
      path: '/personCenter1',
      name: 'personCenter',
      component: function (resolve) {
        require(['@/components/PersonCenter1.vue'], resolve)
      }
    },

    {
      path: '/helpCenter',
      name: 'helpCenter',
      component: function (resolve) {
        require(['@/components/HelpCenter.vue'], resolve)
      }
    },
    {
      path: '/register',
      name: 'register',
      component: function (resolve) {
        require(['@/components/Register.vue'], resolve)
      }
    },
    {
      path: '/login',
      name: 'login',
      component: function (resolve) {
        require(['@/components/Login.vue'], resolve)
      }
    },
    {
      path: '/forgetPwdCode',
      name: 'forgetPwdCode',
      component: function (resolve) {
        require(['@/components/ForgetPwdCode.vue'], resolve)
      }
    },
    {
      path: '/paySuccess',
      name: 'paySuccess',
      component: function (resolve) {
        require(['@/components/PaySuccess.vue'], resolve)
      }
    },
  ]
}
export default customerManageRouter;
